// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_SUPPLIER_SCOPE
// * CreateDate    : 2014-06-05 18:30:18
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:18
// * LastChanger   : 2014-06-05 18:30:18
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstSupplierScopeTable : TableInfo
    {
		public const string C_TableName = "MST_SUPPLIER_SCOPE";
		
		public const string C_SUPPLIER_ID = "SUPPLIER_ID";
		public const string C_SUPPLIER_SCOPE_NO = "SUPPLIER_SCOPE_NO";
		public const string C_SUPPLIER_SCOPE_NAME = "SUPPLIER_SCOPE_NAME";
		
		public MstSupplierScopeTable()
        {
            _tableName = "MST_SUPPLIER_SCOPE";
        }
		
		protected static MstSupplierScopeTable _current;
        public static MstSupplierScopeTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstSupplierScopeTable();

            _current.Add(C_SUPPLIER_ID, new ColumnInfo(C_SUPPLIER_ID,"SupplierId", true, typeof(string)));
            _current.Add(C_SUPPLIER_SCOPE_NO, new ColumnInfo(C_SUPPLIER_SCOPE_NO,"SupplierScopeNo", true, typeof(string)));
            _current.Add(C_SUPPLIER_SCOPE_NAME, new ColumnInfo(C_SUPPLIER_SCOPE_NAME,"SupplierScopeName", false, typeof(string)));
			
		}
		
		public ColumnInfo SUPPLIER_ID
        {
            get { return this[C_SUPPLIER_ID]; }
        }
		
		public ColumnInfo SUPPLIER_SCOPE_NO
        {
            get { return this[C_SUPPLIER_SCOPE_NO]; }
        }
		
		public ColumnInfo SUPPLIER_SCOPE_NAME
        {
            get { return this[C_SUPPLIER_SCOPE_NAME]; }
        }
		
		
		
	}
}

